package com.hdax.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hdax.entity.CusOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-03-22
 */
@Repository

public interface CusOrderMapper extends BaseMapper<CusOrder> {
    IPage<CusOrder> findCusOrder(IPage<?> page, Map map);
    CusOrder findCusOrderById(Integer id);
    Integer findThisMonthCusOrderAddCount();
    Integer findCusOrderCount();
    Long findThisMonthCusOrderPrice();
    Long findCusOrderPrice();
    Float findCusOrderChainCompare();
    Map findThisYearCusOrderIncre();
}
